package com.cqie.wanling;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import springfox.documentation.swagger2.annotations.EnableSwagger2WebMvc;

@SpringBootApplication
@MapperScan(basePackages = {"com.cqie.wanling.mapper"})
@EnableSwagger2
@ComponentScan({"com.cqgc","com.cqie.wanling"})
public class WanlingApplication {

    public static void main(String[] args) {
        SpringApplication.run(WanlingApplication.class, args);
    }

}
